<template>
    <div>
        <div class="ODdiv2">
            <span>订单跟踪</span>
        </div>
        <div class="ODdiv3">
            <div class="div3div1">
                <img src="../../../../assets/myps/cancelstep.png" v-show="!Status">
                <img src="../../../../assets/myps/cancelstep2.png" v-show="Status">
            </div>
            <div class="div3div2">
                <span>提交订单</span>
                <span style="float:right">{{Status==0?'订单已取消':'订单已支付'}}</span>
            </div>
        </div>
        <div class="ODdiv4"></div>
    </div>
</template>

<script>
    export default {
        name:'PxODTUp',
        data(){
            return{
                Status:99,
            }
        },
        mounted(){
            this.$bus.$on('Status',(Status)=>{
                this.Status=Status
            })
        },
        beforeDestroy(){
            this.$bus.$off('Status')
        }
    }
</script>

<style scoped>
.ODdiv2{
    padding: 10px;
    padding-left: 15px;
    background-color: rgb(246, 246, 246);
    border-bottom: 1px solid rgb(201, 201, 201);
    font-size: 14px;
}
.ODdiv3{
    margin-right: 20px;
    margin-left: 20px;
    height: 80px;
    margin-bottom: 10px;
}
.div3div1{
    width: 200px;
    margin: 0 auto;
    margin-top: 35px;
    height: 40px;
    margin-bottom: 5px;
}
.div3div2{
    width: 185px;
    margin: 0 auto;
    font-size: 12px;
}
.ODdiv4{
    margin-right: 20px;
    margin-left: 20px;
    border-bottom: 1px solid rgb(212, 212, 212);
    margin-bottom: 20px;
}
</style>